﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace WindowsFormsApplication14
{
    public partial class settingsForm : Form
    {
        public static bool Boolsheet = false;

        public settingsForm()
        {
            InitializeComponent();
        }

        private void label2_Click(object sender, EventArgs e)
        {
            Boolsheet = true; //переменная для examForm
            yesLabel.BackColor = System.Drawing.ColorTranslator.FromHtml("#0f93be"); //подсвечивание выбранного варианта
            noLabel.BackColor = Color.Transparent; //обесцвечивание второго варианта
        }

        private void label3_Click(object sender, EventArgs e)
        {
            Boolsheet = false;
            yesLabel.BackColor = Color.Transparent;
            noLabel.BackColor = System.Drawing.ColorTranslator.FromHtml("#0f93be");
        }

        private void settingsForm_Load(object sender, EventArgs e)
        {
            noLabel.BackColor = System.Drawing.ColorTranslator.FromHtml("#0f93be");
        }
    }
}
